package com.solution.admin.finance.wallet.constants;

/**
 * 钱包模板常量管理类
 * @author lilp
 */
public class WalletConstants {

	/**
	 *  钱包流水记录类型
	 */
	public enum WALLET_FLOW_TYPE {
		OUT("1", "支出"), 
		IN("2", "收入");
		
		private String code;
		private String name;

		private WALLET_FLOW_TYPE(String code, String name) {
			this.code = code;
			this.name = name;
		}

		public String getCode() {
			return code;
		}

		public void setCode(String code) {
			this.code = code;
		}

		public String getName() {
			return name;
		}

		public void setName(String name) {
			this.name = name;
		}

	}
	
	/**
	 *  钱包流水支出类型
	 */
	public enum WALLET_PAY_TYPE {
		OUT("0", "支出"), 
		IN("1", "收入");
		
		private String code;
		private String name;

		private WALLET_PAY_TYPE(String code, String name) {
			this.code = code;
			this.name = name;
		}

		public String getCode() {
			return code;
		}

		public void setCode(String code) {
			this.code = code;
		}

		public String getName() {
			return name;
		}

		public void setName(String name) {
			this.name = name;
		}

	}
	
}
